package com.gms.entity.place;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;

@Data
@TableName(value = "placenotice")
public class PlaceNotice {
    @TableId(value = "notice_id",type = IdType.AUTO)
    private Integer notice_id;
    @TableField("notice_title")
    private String notice_title;
    @TableField("notice_content")
    private String notice_content;
    @TableField("notice_date")
    private Date notice_date;
    @TableField("user_name")
    private String user_name;
    @TableField("notice_state")
    private String notice_state;

    public Integer getNotice_id() {
        return notice_id;
    }

    public void setNotice_id(Integer notice_id) {
        this.notice_id = notice_id;
    }

    public String getNotice_title() {
        return notice_title;
    }

    public void setNotice_title(String notice_title) {
        this.notice_title = notice_title;
    }

    public String getNotice_content() {
        return notice_content;
    }

    public void setNotice_content(String notice_content) {
        this.notice_content = notice_content;
    }

    public Date getNotice_date() {
        return notice_date;
    }

    public void setNotice_date(Date notice_date) {
        this.notice_date = notice_date;
    }

    public String getNotice_state() {
        return notice_state;
    }

    public void setNotice_state(String notice_state) {
        this.notice_state = notice_state;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    @Override
    public String toString() {
        return "PlaceNotice{" +
                "notice_id=" + notice_id +
                ", notice_title='" + notice_title + '\'' +
                ", notice_content='" + notice_content + '\'' +
                ", notice_date=" + notice_date +
                ", user_name='" + user_name + '\'' +
                ", notice_state='" + notice_state + '\'' +
                '}';
    }
}
